from random import randint


def verifycode():
    code = ''
    for j in range(6):
        type = randint(1, 3)
        if type == 1:
            code += chr(randint(65, 90))
        elif type == 2:
            code += str(randint(0, 9))
        elif type == 3:
            code += chr(randint(97, 122))


    return code


print(verifycode())



